package com.cj.mobile.iabp.mvp.model.entity;

import java.util.List;

/** 碳账户 */
public class CarbonAccountResponse {
    /**
     * 碳减排
     * @param totalCarbonEmissions
     * @param unit
     * @param detailsList
     */
    public CarbonAccountResponse(double totalCarbonEmissions,String unit, List<CarbonAccountInfo> detailsList) {
        this.totalCarbonEmissions = totalCarbonEmissions;
        this.unit = unit;
        this.detailsList = detailsList;
    }

    /**
     * 碳积分
     * @param remainingPoints
     * @param detailsList
     */
    public CarbonAccountResponse(int remainingPoints, List<CarbonAccountInfo> detailsList) {
        this.remainingPoints = remainingPoints;
        this.detailsList = detailsList;
    }

    // 总条数
    private int totalNumber;
    // 总页数
    private int totalPage;
    // 累计碳减排
    private double totalCarbonEmissions;
    private String unit;

    // 剩余积分
    private int remainingPoints;
    // 碳账户明细
    private List<CarbonAccountInfo> detailsList;

    public int getRemainingPoints() {
        return remainingPoints;
    }

    public void setRemainingPoints(int remainingPoints) {
        this.remainingPoints = remainingPoints;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getTotalCarbonEmissions() {
        return totalCarbonEmissions;
    }

    public void setTotalCarbonEmissions(double totalCarbonEmissions) {
        this.totalCarbonEmissions = totalCarbonEmissions;
    }

    public int getTotalNumber() {
        return totalNumber;
    }

    public void setTotalNumber(int totalNumber) {
        this.totalNumber = totalNumber;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<CarbonAccountInfo> getDetailsList() {
        return detailsList;
    }

    public void setDetailsList(List<CarbonAccountInfo> detailsList) {
        this.detailsList = detailsList;
    }
}
